<h1>{$ci_article.title}</h1>
{if $authors}
By 
{foreach from=$authors item=author name=author_loop}
<strong>{$author}</strong>{if !$smarty.foreach.author_loop.last}, {/if}
{/foreach}
<br />
{/if}
{$ci_article.created}
<br /><br />
{eval var=$ci_article.content}
<br />
      <table width="100%"  border="0" cellspacing="1" cellpadding="2" class="metallic_grid_table">
        <tbody>
        
        {section name=image loop=$images step=3}
        <tr class="metallic_grid_body">
          <td align="left" width="280">
            <table border="0" cellpadding="4" cellspacing="0">
              <tr>
                <td>
                  <table width="100%" border="0">
                    <tr>
                      <td align="left" width="{$t1_width}"><a href="admin/modules/tangra_cms/get_img_public.php?imgid={$images[$smarty.section.image.index]->get_id()}" target="_blank"><img src="admin/modules/tangra_cms/get_img_public.php?imgid={$images[$smarty.section.image.index]->get_id()}&amp;imgvar=t1" border="0" /></a> </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
          <td align="left" width="280">
            {math equation="next + 1" next=$smarty.section.image.index assign=index_next_next}                        
            {if $images[$index_next_next]}            
            <table border="0" cellpadding="4" cellspacing="0">
              <tr>
                <td>
                  <table width="100%" border="0">
                    <tr>
                      <td align="left" width="{$t1_width}"><a href="admin/modules/tangra_cms/get_img_public.php?imgid={$images[$index_next_next]->get_id()}" target="_blank"><img src="admin/modules/tangra_cms/get_img_public.php?imgid={$images[$index_next_next]->get_id()}&amp;imgvar=t1" border="0" /></a> </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          {else}
          &nbsp;
          {/if}
          </td>
          <td align="left" width="280">
	       {math equation="next + 2" next=$smarty.section.image.index assign=index_next_next}          
            {if $images[$index_next_next]}                       
            <table border="0" cellpadding="4" cellspacing="0">
              <tr>
                <td>
                  <table width="100%" border="0">
                    <tr>
                      <td align="left" width="{$t1_width}"><a href="admin/modules/tangra_cms/get_img_public.php?imgid={$images[$index_next_next]->get_id()}" target="_blank"><img src="admin/modules/tangra_cms/get_img_public.php?imgid={$images[$index_next_next]->get_id()}&amp;imgvar=t1" border="0" /></a> </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          {else}
          &nbsp;
          {/if}
          </td>
        </tr>
        {/section}
        </tbody>
      </table>
{if $attachments}
<br /><br />
Attachments:
<div>
<table width="100%" border="0" cellpadding="2" cellspacing="0">
    {foreach from=$attachments item=attachment}                                                
		<a href="modules/tangra_cms/attachment_download.php?fileid={$attachment->get_id()}">{$attachment->get_orig_filename()}</a> ({$attachment->get_size()/1024|string_format:"%.2f"} KB)<br />
    {/foreach}                                                    
</table>
</div>
{/if}